package org.tmsps.ne4spring.orm.model;

import com.alibaba.fastjson.JSON;

/**
 * 
 * @author 冯晓东 398479251@qq.com
 *
 */
public abstract class DataModel {
	public String toJsonString() {
		return JSON.toJSONString(this);
	}

	public abstract void setStatus(int status);

	@Override
	public String toString() {
		return this.toJsonString();
	}

	@Override
	public boolean equals(Object obj) {
		return super.equals(obj);
	}

	@Override
	public int hashCode() {
		return super.hashCode();
	}
}
